package com.xhlj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName registrations 用于记录报名信息
 */
@TableName(value ="registrations")
@Data
public class Registrations implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer regisId;

    /**
     * 报名用户的id
     */
    private Integer userId;

    /**
     * 活动id
     */
    private Integer activityId;


    /**
     * 报名时间
     */
    private Date regisTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}